package com.aspose.cells;

class zbsm extends zck {
   zbsm(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   private static void a(zn var0, zbkr var1) {
      if (!var1.w().a()) {
         com.aspose.cells.b.a.b.a.ze var2 = new com.aspose.cells.b.a.b.a.ze();
         var2.b(var1.v());
         com.aspose.cells.b.a.b.zc var3 = zbum.a(var1.w(), var2);
         var0.b(var3, var1.v());
      }

      if (!var1.x().a()) {
         int var5 = var1.x().g();
         int var6 = var1.x().j();
         var1.x().c(0);
         var1.x().f(0);
         com.aspose.cells.b.a.b.zm var4 = zbum.a(var1.x());
         if (var1.x().f() <= 1.0F) {
            var0.c(var4, var1.S().f(), var1.S().g(), var1.q(), var1.r());
         } else {
            var0.c(var4, var1.s(), var1.t(), var1.q(), var1.r());
         }

         var1.x().c(var5);
         var1.x().f(var6);
      }

   }

   void b() {
      a(this.a, this.e);
      int var1 = this.a.j();
      if (this.e.w().a() && this.e.a) {
         this.a.b(4);
      }

      this.a();
      if (this.e.w().a() && this.e.a) {
         this.a.b(var1);
      }

   }
}
